/*
 * Created on 14.02.2003
 */
package com.juitar.base.utils;

/**
 * @author SKopylov
 */
public class IntBitMask {

	public static boolean isSet(int mask, int bitNo) {
		return (mask & (1 << bitNo)) != 0;
	}

	public static int set(int mask, int bitNo) {
		return mask |= (1 << bitNo);
	}
}
